package com.um.jdy.common.member.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Title 支付枚举
 * @Description
 * @Author renjunwei
 * @Date 2021/12/22 3:15 PM
 */
public class PayEnum {

    @Getter
    @AllArgsConstructor
    public enum Title {

        Package("充值套餐"),
        Charge("充电消费"),
        Deposit("支付押金"),
        Shop("商城消费"),
        MonthCard("月卡购买");

        private String value;

    }

    @Getter
    @AllArgsConstructor
    public enum Status {

        //支付状态，0-未支付，1-已支付
        UnPayed("未支付"),
        Payed("已支付");

        private String value;

    }

    @Getter
    @AllArgsConstructor
    public enum PayWay {

        //支付方式，0-微信支付，1-钱包余额
        Wxpay("微信支付"),
        Wallet("钱包余额"),
        Alipay("支付宝"),
        Bank("银行卡"),
        Deposit("押金支付"),
        MonthCard("月卡支付"),
        None("无支付"),
        ;

        private String value;

    }

//    @Getter
//    @AllArgsConstructor
//    public enum DepositPayWay {
//
//        Wxpay("0","微信支付"),
//        Alipay("2","支付宝"),
//        ;
//
//        private String key;
//        private String value;
//
//    }

    @Getter
    @AllArgsConstructor
    public enum CashOutType {

        Wxpay("微信"),
        Bank("银行卡"),
        Alipay("支付宝"),
        Baofu("宝付"),
        ;

        private String value;

    }


    /**
     * 支付类型
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
//    @Getter
//    @AllArgsConstructor
//    public enum PayType {
//
//        ORDER("0", "订单支付"),
//        REPAYMENT("2", "还款");
//
//        private String key;
//        private String value;
//
//    }



}
